﻿using System;
using System.Collections.Generic;

namespace Rj.PersonnelVerification.Server.DataBaseContext.Entities
{
    public partial class RegTbPendingAccount
    {
        /// <summary>
        /// 主键
        /// </summary>
        public long SerialNo { get; set; }
        /// <summary>
        /// 就诊流水号
        /// </summary>
        public long RegNo { get; set; }
        /// <summary>
        /// 结账ID
        /// </summary>
        public long BillId { get; set; }
        /// <summary>
        /// 挂账单位(Tb_Dic_PendingAccountUnit表主键)
        /// </summary>
        public long Unit { get; set; }
        /// <summary>
        /// 挂账原因：字典：2311111
        /// </summary>
        public int Reason { get; set; }
        /// <summary>
        /// 交款时间
        /// </summary>
        public DateTime? PayTime { get; set; }
        /// <summary>
        /// 支付方式：字典：1514
        /// </summary>
        public int? PayType { get; set; }
        /// <summary>
        /// 交款金额
        /// </summary>
        public decimal? Amount { get; set; }
        /// <summary>
        /// 状态：0待审核，1有效，2退款
        /// </summary>
        public int Status { get; set; }
        /// <summary>
        /// 审核人
        /// </summary>
        public int? VerifyUserId { get; set; }
        /// <summary>
        /// 审核时间
        /// </summary>
        public DateTime? VerifyOn { get; set; }
        /// <summary>
        /// 打印人
        /// </summary>
        public int? PrintUserId { get; set; }
        /// <summary>
        /// 打印时间
        /// </summary>
        public DateTime? PrintOn { get; set; }
        /// <summary>
        /// 收据号
        /// </summary>
        public string? RecipeNo { get; set; }
        /// <summary>
        /// 入账日期
        /// </summary>
        public DateTime? EntryOn { get; set; }
        /// <summary>
        /// 入账人
        /// </summary>
        public int? EntryUserId { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public int? CreateUserId { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateOn { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public DateTime? UpdateOn { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public int? UpdateUserId { get; set; }
        /// <summary>
        /// 院区ID
        /// </summary>
        public int HospitalId { get; set; }
        /// <summary>
        /// 原还款记录id
        /// </summary>
        public long? OriginalSerialNo { get; set; }
    }
}
